projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
936248d
)
x86: ich-spi: Add Intel Tunnel Creek SPI controller support
author
Bin Meng
<
[email protected]
>
Fri, 12 Dec 2014 13:05:27 +0000
(21:05 +0800)
committer
Simon Glass
<
[email protected]
>
Sun, 14 Dec 2014 05:32:05 +0000
(22:32 -0700)
Add Intel Tunnel Creek SPI controller support which is an ICH7
compatible device.
Signed-off-by: Bin Meng <
[email protected]
>
Acked-by: Simon Glass <
[email protected]
>
drivers/spi/ich.c
patch
|
blob
|
history
diff --git
a/drivers/spi/ich.c
b/drivers/spi/ich.c
index 16730ec33f391bb16b3bdee8ae1fb60fdbb97d6d..0379444872e73ed413cc03ff029b08dad30d1f37 100644
(file)
--- a/
drivers/spi/ich.c
+++ b/
drivers/spi/ich.c
@@
-167,7
+167,8
@@
void spi_free_slave(struct spi_slave *slave)
*/
static int get_ich_version(uint16_t device_id)
{
- if (device_id == PCI_DEVICE_ID_INTEL_TGP_LPC)
+ if (device_id == PCI_DEVICE_ID_INTEL_TGP_LPC ||
+ device_id == PCI_DEVICE_ID_INTEL_ITC_LPC)
return 7;
if ((device_id >= PCI_DEVICE_ID_INTEL_COUGARPOINT_LPC_MIN &&